/**
 * @desc 展示帮助信息, 同时也介绍 sync-file-content 命令的使用方法
 */
export function showHelp(): void {
  console.log("Usage: sync-file-content [options]");
  console.log("");
  console.log(
    "Sync file content from input file to output file using chokidar",
  );
  console.log("");
  console.log("Positional arguments:");
  console.log("  sync-file-content <input> <output>");
  console.log("  sync-file-content --verbose <input> <output>");
  console.log("");
  console.log("Option flags:");
  console.log("  --input, -i    Input file path");
  console.log("  --output, -o   Output file path");
  console.log(
    "  --verbose, -v Show detailed diff output with color highlighting",
  );
  console.log("  --help, -h     Show this help message");
  console.log("");
  console.log("Examples:");
  console.log("  sync-file-content source.txt destination.txt");
  console.log(
    "  sync-file-content --input source.txt --output destination.txt",
  );
  console.log("  sync-file-content -i source.txt -o destination.txt");
  console.log(
    "  sync-file-content --input source.txt --output destination.txt --verbose",
  );
  console.log("  sync-file-content source.txt destination.txt --verbose");
}
